home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / util / moni / Scout-src.lha / source / objects / scout_screenmode_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-02-13  |  2.6 KB  |  113 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_screenmode.c
  31.  */
  32.  
  33. struct  SModeEntry{
  34.    struct SModeEntry *sme_next;
  35.    ULONG sme_smodeid;
  36.    char sme_id[ADDRESSLENGTH];
  37.    char sme_name[70];
  38.    char sme_width[10];
  39.    char sme_height[10];
  40.    char sme_depth[10];
  41. };
  42.  
  43. extern int smodecnt;
  44.  
  45. extern APTR smodemoretext0;
  46.  
  47. extern APTR smodemoretext1;
  48.  
  49. extern APTR smodemoretext2;
  50.  
  51. extern APTR smodemoretext3;
  52.  
  53. extern APTR smodemoretext4;
  54.  
  55. extern APTR smodemoretext5;
  56.  
  57. LONG __asm smodelist_cmpidfunc(register __a1 struct SModeEntry * , register __a2 struct SModeEntry * );
  58.  
  59. extern struct Hook smodelist_cmpidhook;
  60.  
  61. LONG __asm smodelist_cmpresfunc(register __a1 struct SModeEntry * , register __a2 struct SModeEntry * );
  62.  
  63. extern struct Hook smodelist_cmpreshook;
  64.  
  65. LONG __asm smodelist_cmpnamefunc(register __a1 struct SModeEntry * , register __a2 struct SModeEntry * );
  66.  
  67. extern struct Hook smodelist_cmpnamehook;
  68.  
  69. LONG __asm smodelist_dspfunc(register __a2 char ** , register __a1 struct SModeEntry * , register __a0 struct Hook * );
  70.  
  71. extern struct Hook smodelist_dsphook;
  72.  
  73. void FreeSMode(void);
  74.  
  75. void GetSModeEntry(struct SModeEntry * , ULONG );
  76.  
  77. void UpdateSMode(void);
  78.  
  79. int GetSMode(struct SModeEntry ** );
  80.  
  81. void PrintSMode(char * );
  82.  
  83. void ShowSMode(void);
  84.  
  85. void SendSModeList(void);
  86.  
  87. void GetSModeMore(struct SModeEntry *);
  88.  
  89. extern APTR SModeSortList[4];
  90.  
  91. extern APTR WI_SMode;
  92.  
  93. extern APTR smodelist;
  94.  
  95. extern APTR smodetext;
  96.  
  97. extern APTR smodecount;
  98.  
  99. extern APTR CY_SModeSort;
  100.  
  101. extern int smodesortstate;
  102.  
  103. extern APTR BT_SModeUpdate;
  104.  
  105. extern APTR BT_SModePrint;
  106.  
  107. extern APTR BT_SModeMore;
  108.  
  109. extern APTR BT_SModeExit;
  110.  
  111. void SModeWindow(BOOL );
  112.  
  113.